// import { Schema } from "@/api/interface/iot";
import http from "@/api";
//添加设备变量
export const addSensor = (params?: any) => {
	return http.post(`/device/sensor/add`, params);
};
//修改设备变量
export const modifySensor = (params?: any) => {
	return http.post(`/device/sensor/modify`, params);
};
//修改设备变量
export const removeSensor = (params?: any) => {
	return http.post(`/device/sensor/remove`, params);
};
//触发设备数据逆转schema
export const deviceDataSchema = (params?: any) => {
	return http.post(`/device/schema`, params);
};
//设备变量下发
export const setSensor = (params?: any) => {
	return http.post(`/device/sensor/set`, params);
};
